Skip to content

Conversation

@Kobzol
Copy link
Member

@Kobzol Kobzol commented Dec 5, 2025

Some small improvements to the status page, based on papercuts I found while testing multiple collectors. Most of the commits compress the size of the job table, or add more information to it.

@Kobzol Kobzol requested a review from Jamesbarford December 5, 2025 12:17
Copy link
Contributor

@Jamesbarford Jamesbarford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 small pieces of feedback. Looks good otherwise 👍

return "";
}
}
function timeSince(timestamp: string): string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a site/frontend/src/utils/formatting.ts file, I think this should live there

// Takes a date like `2025-09-10T08:22:47.161348Z` and shows just the time
// portion (`08:22:47`).
function formatTime(dateString: string | null): string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this should also live in; site/frontend/src/utils/formatting.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants